<template>
    <div>
       <a-card title="评价中心">
           <a-tabs default-active-key="data" @change="tabChange">
               <a-tab-pane key="data" tab="数据概览">
                   <comment-data-overview/>
               </a-tab-pane>
               <a-tab-pane key="commentMS" tab="评价管理" force-render>
                   <comment-manager/>
               </a-tab-pane>
           </a-tabs>
       </a-card>
    </div>
</template>

<script>
    import CommentDataOverview from "./CommentDataOverview";
    import CommentManager from "./commentManager";
    export default {
        name: "commentCenter",
        components: {CommentManager, CommentDataOverview},
        methods: {
            tabChange(val) {
                console.log(val)
            }
        }
    }
</script>

<style scoped>

</style>